home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2001 September / PC-WELT 9-2001.ISO / software / hw / brennen / flask_src.exe / Resizer / Resizer.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-11  |  1.4 KB  |  47 lines

  1. /* 
  2.  *  resizer.h - Original code from Avery Lee's Virtual Dub
  3.  *
  4.  *    Copyright (C) Alberto Vigata - ultraflask@yahoo.com - January 2000
  5.  *
  6.  *  This file is part of FlasKMPEG, a free MPEG to MPEG/AVI converter
  7.  *    
  8.  *  FlasKMPEG is free software; you can redistribute it and/or modify
  9.  *  it under the terms of the GNU General Public License as published by
  10.  *  the Free Software Foundation; either version 2, or (at your option)
  11.  *  any later version.
  12.  *   
  13.  *  FlasKMPEG is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  *  GNU General Public License for more details.
  17.  *   
  18.  *  You should have received a copy of the GNU General Public License
  19.  *  along with GNU Make; see the file COPYING.  If not, write to
  20.  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
  21.  *
  22.  */
  23.  
  24.  
  25. #ifndef RESIZER_H
  26. #define RESIZER_H
  27.  
  28. enum {
  29.     FILTER_NONE                = 0,
  30.     FILTER_BILINEAR            = 1,
  31.     FILTER_BICUBIC            = 2,
  32.     FILTER_TABLEBILINEAR    = 3,
  33.     FILTER_TABLEBICUBIC        = 4,
  34. };
  35.  
  36. PrepareResizer(int oxsize, int oysize, bool doAR ,double iDAR, int filterMode, VBitmap *source);
  37. UnPrepareResizer();
  38. ResizerRun(VBitmap *source, VBitmap *dest);
  39. /*
  40. int resize_start(MyFilterData *mfd, VBitmap *src);
  41. int resize_run(MyFilterData *mfd, VBitmap *source, VBitmap *dest);
  42. int resize_stop(MyFilterData *mfd);
  43. */
  44.  
  45. #endif
  46.  
  47.